using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;
namespace Kunlun.Models {
	[Table("AdManage")]
	public class AdManage {
		[Key]
		[DisplayName("广告位ID")]
		public int adid { get; set; }

		[Required(ErrorMessage = "标题不能空")]
		[DisplayName("标题")]
		public string Title { get; set; }

		[DisplayName("内容")]
		public string Contents { get; set; }

		[DisplayName("排序")]
		public int Orders { get; set; }

		[DisplayName("链接地址")]
		public string Url { get; set; }

		[DisplayName("图片地址")]
		public string PicUrl { get; set; }

		[DisplayName("图片高度")]
		public double Height { get; set; }

		[DisplayName("图片宽度")]
		public double Width { get; set; }

		[DisplayName("是否可用")]
		public bool IsVisible { get; set; }

		[DisplayName("添加时间")]
		public DateTime BeginDate { get; set; }

		[DisplayName("最后修改时间")]
		public DateTime LastUpdateTime { get; set; }

		[DisplayName("频道")]
		public string Channel { get; set; }
	}
}
